package ai.plantdata.Behavior.mode.VisitorPattern.interfaces;


import ai.plantdata.Behavior.mode.VisitorPattern.interfaces.impl.Computer;
import ai.plantdata.Behavior.mode.VisitorPattern.interfaces.impl.Keyboard;
import ai.plantdata.Behavior.mode.VisitorPattern.interfaces.impl.Monitor;
import ai.plantdata.Behavior.mode.VisitorPattern.interfaces.impl.Mouse;


/**
 * @Author: WangHui
 * @Date: 2020/12/24 14:56
 * @Description: 表示一个访问者的接口
 */
public interface ComputerPartVisitor {
    void visit(Computer computer);
    void visit(Mouse mouse);
    void visit(Keyboard keyboard);
    void visit(Monitor monitor);
}
